package net.tv90.business.model.dto;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class TeacherAddDTO {

    @NotEmpty(message = "字段不能为空")
    String code;

    @NotEmpty(message = "字段不能为空")
    String realName;

    @NotEmpty(message = "字段不能为空")
    String idCard;

    @NotEmpty(message = "字段不能为空")
    String academy;

    @NotEmpty(message = "字段不能为空")
    String phone;
}